#ifndef _OTA_H_
#define _OTA_H_


#ifdef __cplusplus
 extern "C" {
#endif

#include "debug.h"
#include "glb_res.h"
#include "EEPROM.h"


#define     FactoryInformationMaxSize           100
#define     FactoryInformationBaseAddr          0
#define     UpgradeRequestInformationAddr      101


extern bool OTA_Trig_Flag;

void ota_run(void);

#ifdef __cplusplus
}
#endif

#endif
